LIB=HaCWB/Lib
PARSER=HaCWB/Parser


install: pkg
	runhaskell Setup.hs install

6.6:
	cp HaCWB.cabal.ghc6.6 hacwb.cabal

6.4:
	cp  HaCWB.cabal.ghc6.4 hacwb.cabal

hacwb.cabal:
	cp HaCWB.cabal.ghc6.6_notools hacwb.cabal

pkg: hacwb.cabal
	runhaskell Setup.hs configure --ghc
	runhaskell Setup.hs build

doc: 
	runhaskell Setup.hs haddock

clean:
	rm -rf .setup-config .installed-pkg-config hacwb.cabal dist build *~


